<?php
/**
 *
 * Medical Studies Search Screen
 *
 */
use Fox\Grid\FieldCat\Field\Renderer\Anchor;
use Fox\Generator;

$grid = new Fox\Grid('gMedicalStudies');
$grid->fieldcat(array(array('ms_reference','reference'),'label','start_date','cname','udate'));
$grid->fieldcat()->switchToObjectMode();
$grid->fieldcat()->setFieldAttr('*', 'renderers',new Anchor(Generator::url(
	'medicalstudies',
	'update',
null,
array('msid' => Generator::useAttribute('msid'))
)));
return $grid;